#ifndef CHECKCODE_H
#define CHECKCODE_H

#include <QObject>

class CheckCode : public QObject
{
    Q_OBJECT
public:
    explicit CheckCode(QObject *parent = 0);

    static quint16 computeCRC16(QByteArray data,quint16 length);
    static quint16 computeSum(QByteArray data, quint16 startIndex, quint16 length);

signals:

public slots:

};

#endif // CHECKCODE_H
